package xyz.jcat.seata.example.storage.domain.dao;

import org.apache.ibatis.annotations.Param;
import xyz.jcat.seata.example.storage.domain.po.ItemStoragePo;
import xyz.jcat.mybatis.IBaseDao;

import java.util.Date;

/**
 *
 * @author yueyue
 * auto on 2022-03-16 01:17:30
 */
public interface IItemStorageDao extends IBaseDao<ItemStoragePo> {

    int decr(@Param("itemId") Long itemId,
             @Param("num") Integer num,
             @Param("frozenNum") Integer frozenNum,
             @Param("updateTime") Date updateTime);
}
